 /*  SAS Data Definition File */
 /*  Created by ddltox on May 01, 2009  (Fri 12:24 PM PDT) */
 /*  DDL source file: "ocas99/ocas99.ddl". */

/* DDL indicates that dataset record length (reclen) is 78 columns. */

TITLE "ORANGE COUNTY ANNUAL SURVEY 1999";
FILENAME INDATA "    ";    /* Put name of data file between quotes */
LIBNAME LIBRARY "    ";    /* Put directory of data library between quotes */

PROC  FORMAT LIB=LIBRARY;
  VALUE q1ffffff  1='SINGLE FAMILY' 2='ATTACHED' 3='APARTMENT' 4='MOBILE' 
                  5='OTHER' 9='REFUSE' ;
  VALUE q2ffffff  1='0-2 YRS' 2='3-5 YRS' 3='6-10 YRS' 4='11-20 YRS' 
                  5='21+ YRS' 9='REFUSE' ;
  VALUE q3ffffff  1='OWN' 2='RENT' 9='DK, REFUSE' ;
  VALUE q4ffffff  1='UNDER $500' 2='$501-$750' 3='$751-$1,000' 
                  4='$1,001-$1,500' 5='$1,501+' 9='NA, REFUSE' ;
  VALUE q5ffffff  1='NOTHING' 2='$1-$500' 3='$501-$750' 4='$751-$1,000' 
                  5='$1,001-$1,500' 6='$1,501-$2,000' 7='$2,001+' 
                  9='NA, REFUSE' ;
  VALUE q6ffffff  1='BETTER OFF' 2='WORSE OFF' 3='SAME' 9='DK, REFUSE' ;
  VALUE q7ffffff  1='BETTER OFF' 2='WORSE OFF' 3='SAME' 8='DK' 9='REFUSE' ;
  VALUE q8ffffff  1='GOOD TIMES' 2='BAD TIMES' 8='DK' 9='REFUSE' ;
  VALUE q9ffffff  1='GOOD TIMES' 2='DEPRESSION' 8='DK' 9='REFUSE' ;
  VALUE q10fffff  1='GOOD TIME' 2='BAD TIME' 8='NEITHER, DK' 9='REFUSE' ;
  VALUE q11fffff  1='EXCELLENT' 2='GOOD' 3='FAIR' 4='POOR' 5='NOT IN CITY' 
                  8='DK' 9='REFUSE' ;
  VALUE q12fffff  1='EXCELLENT' 2='GOOD' 3='FAIR' 4='POOR' 5='NOT IN CITY' 
                  8='DK' 9='REFUSE' ;
  VALUE q13fffff  1='VERY WELL' 2='SOMEWHAT WELL' 3='SOMEWHAT BADLY' 
                  4='VERY BADLY' 9='DK, REFUSE' ;
  VALUE q14fffff  1='ECONOMY' 2='CRIME' 3='SCHOOLS' 4='IMMIGRATION' 
                  5='TRAFFIC' 6='HOUSING' 7='ENVIRONMENT' 8='GROWTH' 
                  9='AIRPORT' 10='RACE RELATIONS' 11='LOCAL GOVT' 12='TAXES' 
                  13='GOVT REGS' 14='POVERTY' 15='DRUGS' 16='HEALTH CARE' 
                  17='VALUES' 97='OTHER' 98='DK' 99='REFUSE' ;
  VALUE q15fffff  1='BETTER PLACE' 2='WORSE PLACE' 3='NO CHANGE' 8='DK' 
                  9='REFUSE' ;
  VALUE q16fffff  1='EXCELLENT' 2='GOOD' 3='FAIR' 4='POOR' 5='NOT IN CITY' 
                  8='DK' 9='REFUSE' ;
  VALUE q17fffff  1='EXCELLENT' 2='GOOD' 3='FAIR' 4='POOR' 5='NOT IN CITY' 
                  8='DK' 9='REFUSE' ;
  VALUE q18fffff  1='A LOT' 2='SOME' 3='VERY LITTLE' 4='NONE' 8='DK' 
                  9='REFUSE' ;
  VALUE q19fffff  1='WASTE A LOT' 2='WASTE SOME' 3='WASTE LITTLE' 
                  4='WASTE NONE' 8='DK' 9='REFUSE' ;
  VALUE q20fffff  1='APPROVE' 2='DISAPROVE' 8='DK' 9='REFUSE' ;
  VALUE q21fffff  1='FAVOR' 2='OPPOSE' 8='DK' 9='REFUSE' ;
  VALUE q22fffff  1='JOHN WAYNE ONLY' 2='EL TORO ONLY' 3='BOTH' 4='OTHER' 
                  8='DK' 9='REFUSE' ;
  VALUE q23fffff  1='YES' 2='NO' 8='DK' 9='REFUSE' ;
  VALUE q24fffff  1='YES' 2='NO' 8='DK' 9='REFUSE' ;
  VALUE q25fffff  1='EXCELLENT' 2='GOOD' 3='FAIR' 4='POOR' 5='NOT IN CITY' 
                  8='DK' 9='REFUSE' ;
  VALUE q26fffff  1='FOR TAX HIKE' 2='AGAINST TAX HIKE' 8='DK' 9='REFUSE' ;
  VALUE q27fffff  1='FAVOR' 2='OPPOSE' 8='DK' 9='REFUSE' ;
  VALUE q28fffff  1='A LOT' 2='SOME' 3='NOT MUCH' 8='DK' 9='REFUSE' ;
  VALUE q29fffff  1='FAVOR' 2='OPPOSE' 8='DK' 9='REFUSE' ;
  VALUE q30fffff  1='SATISFACTORY' 2='MORE LANES ONLY' 3='NEW FREEWAYS' 
                  9='DK, REFUSE' ;
  VALUE q31fffff  1='VERY SATISFIED' 2='SOMEWHAT SATISFIED' 3='NOT SATISFIED' 
                  4='NOT WORKING' 8='DK' 9='REFUSE' ;
  VALUE q32fffff  1='YES' 2='NO' 8='DK' 9='REFUSE' ;
  VALUE q33fffff  1='FAVOR' 2='OPPOSE' 8='DK' 9='REFUSE' ;
  VALUE q34fffff  1='FULL-TIME' 2='PART-TIME' 3='NOT EMPLOYED' 9='REFUSE' ;
  VALUE q35fffff  1='NO PROBLEM' 2='SOME PROBLEM' 3='GREAT PROBLEM' 9='NA' ;
  VALUE q36fffff  1='DEMOCRAT' 2='REPUBLICAN' 3='INDEP/OTHER' 4='NOT REGD' 
                  9='REFUSE' ;
  VALUE q37fffff  1='VERY LIBERAL' 2='SOMEWHAT LIBERAL' 3='MIDDLE OF ROAD' 
                  4='SOMEWHAT CONSERV' 5='VERY CONSERV' 9='REFUSE' ;
  VALUE q38fffff  1='GREAT DEAL' 2='FAIR AMT' 3='A LITTLE' 4='NONE' 8='DK' 
                  9='REFUSE' ;
  VALUE q39fffff  1='MOST OF TIME' 2='SOME OF TIME' 3='NOW AND THEN' 
                  4='HARDLY AT ALL' 8='DK' 9='REFUSE' ;
  VALUE q40fffff  1='ALWAYS' 2='NEARLY ALWAYS' 3='PART OF TIME' 4='SELDOM' 
                  5='NEVER' 6='OTHER' 8='DK' 9='REFUSE' ;
  VALUE q41fffff  1='NEARLY ALWAYS' 2='MOST OF TIME' 3='SOME OF TIME' 
                  4='NONE' 8='DK' 9='REFUSE' ;
  VALUE q42fffff  1='A LOT' 2='SOME' 3='NOT MUCH' 8='DK' 9='REFUSE' ;
  VALUE q43fffff  1='BIG INTERESTS' 2='ALL PEOPLE' 8='DK' 9='REFUSE' ;
  VALUE q44fffff  1='STRONGLY AGREE' 2='SOMEWHAT AGREE' 3='NEITHER' 
                  4='SOMEWHAT DISAGREE' 5='STRONGLY DISAGREE' 8='DK' 
                  9='REFUSE' ;
  VALUE q45fffff  1='A GOOD DEAL' 2='SOME' 3='NOT MUCH' 8='DK' 9='REFUSE' ;
  VALUE q46fffff  1='EVERY DAY' 2='FEW X / WK' 3='1 X / WK' 4='<1 X / WK' 
                  5='NEVER' 8='DK' 9='REFUSE' ;
  VALUE q47fffff  1='EVERY DAY' 2='FEW X / WK' 3='1 X / WK' 4='<1 X / WK' 
                  5='NEVER' 8='DK' 9='REFUSE' ;
  VALUE q48fffff  1='VERY CLOSELY' 2='FAIRLY CLOSELY' 3='NOT TOO CLOSELY' 
                  4='NOT AT ALL' 8='DK' 9='REFUSE' ;
  VALUE q49fffff  1='VERY CLOSELY' 2='FAIRLY CLOSELY' 3='NOT TOO CLOSELY' 
                  4='NOT AT ALL' 8='DK' 9='REFUSE' ;
  VALUE q50fffff  1='VERY CLOSELY' 2='FAIRLY CLOSELY' 3='NOT TOO CLOSELY' 
                  4='NOT AT ALL' 8='DK' 9='REFUSE' ;
  VALUE q51fffff  1='VERY CLOSELY' 2='FAIRLY CLOSELY' 3='NOT TOO CLOSELY' 
                  4='NOT AT ALL' 8='DK' 9='REFUSE' ;
  VALUE q52fffff  1='VERY CLOSELY' 2='FAIRLY CLOSELY' 3='NOT TOO CLOSELY' 
                  4='NOT AT ALL' 8='DK' 9='REFUSE' ;
  VALUE q53fffff  1='VERY INVOLVED' 2='SOMEWHAT INVOLVED' 
                  3='NOT REALLY INVOLVED' 8='DK' 9='REFUSE' ;
  VALUE q54fffff  1='VERY INVOLVED' 2='SOMEWHAT INVOLVED' 
                  3='NOT REALLY INVOLVED' 8='DK' 9='REFUSE' ;
  VALUE q55fffff  1='VERY INVOLVED' 2='SOMEWHAT INVOLVED' 
                  3='NOT REALLY INVOLVED' 8='DK' 9='REFUSE' ;
  VALUE q56fffff  1='VERY INVOLVED' 2='SOMEWHAT INVOLVED' 
                  3='NOT REALLY INVOLVED' 8='DK' 9='REFUSE' ;
  VALUE q57fffff  1='VERY INVOLVED' 2='SOMEWHAT INVOLVED' 
                  3='NOT REALLY INVOLVED' 8='DK' 9='REFUSE' ;
  VALUE q58fffff  1='VERY INVOLVED' 2='SOMEWHAT INVOLVED' 
                  3='NOT REALLY INVOLVED' 8='DK' 9='REFUSE' ;
  VALUE q59fffff  1='VERY INVOLVED' 2='SOMEWHAT INVOLVED' 
                  3='NOT REALLY INVOLVED' 8='DK' 9='REFUSE' ;
  VALUE q60fffff  1='VERY INVOLVED' 2='SOMEWHAT INVOLVED' 
                  3='NOT REALLY INVOLVED' 8='DK' 9='REFUSE' ;
  VALUE q61fffff  1='18-34' 2='35-54' 3='55+' 9='REFUSE' ;
  VALUE q62fffff  1='< H.S.' 2='H.S. GRAD' 3='SOME COLLEGE' 4='COLLEGE GRAD' 
                  5='POST GRAD' 9='REFUSE' ;
  VALUE q63fffff  1='YES, PUBLIC SCHOOL' 2='YES, NO PUB SCH' 3='NO CHILDREN' 
                  8='DK' 9='REFUSE' ;
  VALUE q64fffff  1='ALISO VIEJO' 2='ANAHEIM' 3='BREA' 4='BUENA PARK' 
                  5='CAPO BCH' 6='COSTA MESA' 7='COTO DE CAZA' 8='CYPRESS' 
                  9='DANA POINT' 10='EL TORO' 11='FOUNT VAL' 12='FULLERTON' 
                  13='G GROVE' 14='HUNT BCH' 15='IRVINE' 16='LAGUNA BCH' 
                  17='LAGUNA HLS' 18='LAGUNA NIG' 19='LA HABRA' 20='LA PALMA' 
                  21='LOS AL' 22='MIDWAY CITY' 23='MISSION V' 24='NPT BEACH' 
                  25='ORANGE' 26='PLACENTIA' 27='PORTOLA HILLS' 
                  28='R SANTA MARG' 29='ROSSMOOR' 30='SAN CLEM' 31='S J CAPO' 
                  32='SANTA ANA' 33='SEAL BCH' 34='SILVERADO' 35='STANTON' 
                  36='SUNSET BCH' 37='TRABUCO' 38='TUSTIN' 39='TUST FTHLS' 
                  40='VILLA PK' 41='WESTMINST' 42='YORBA L' 98='OTHER OC' 
                  99='REFUSE' ;
  VALUE q65fffff  1='UNDER $36,000' 2='$36,000-$50,000' 3='$50,001-$79,999' 
                  4='$80,000+' 9='DK, REFUSE' ;
  VALUE q66fffff  1='ASIAN' 2='BLACK' 3='HISPANIC' 4='CAUCASIAN' 5='OTHER' 
                  9='REFUSE' ;
  VALUE sex       1='MALE' 2='FEMALE' ;
  VALUE lang      1='ENGLISH' 2='SPANISH' ;
  VALUE yearffff  1999='YEAR OF SURVEY' ;
RUN;

DATA IN (LABEL="ORANGE COUNTY ANNUAL SURVEY 1999");
  INFILE INDATA LRECL=78;
  INPUT
    #1  CASEID 1-4              Q1 5                    Q2 6                    
        Q3 7                    Q4 8                    Q5 9                    
        Q6 10                   Q7 11                   Q8 12                   
        Q9 13                   Q10 14                  Q11 15                  
        Q12 16                  Q13 17                  Q14 18-19               
        Q15 20                  Q16 21                  Q17 22                  
        Q18 23                  Q19 24                  Q20 25                  
        Q21 26                  Q22 27                  Q23 28                  
        Q24 29                  Q25 30                  Q26 31                  
        Q27 32                  Q28 33                  Q29 34                  
        Q30 35                  Q31 36                  Q32 37                  
        Q33 38                  Q34 39                  Q35 40                  
        Q36 41                  Q37 42                  Q38 43                  
        Q39 44                  Q40 45                  Q41 46                  
        Q42 47                  Q43 48                  Q44 49                  
        Q45 50                  Q46 51                  Q47 52                  
        Q48 53                  Q49 54                  Q50 55                  
        Q51 56                  Q52 57                  Q53 58                  
        Q54 59                  Q55 60                  Q56 61                  
        Q57 62                  Q58 63                  Q59 64                  
        Q60 65                  Q61 66                  Q62 67                  
        Q63 68                  Q64 69-70               Q65 71                  
        Q66 72                  SEX 73                  LANG 74                 
        YEAR 75-78              ;

  LABEL
   CASEID  = 'RESPONDENT ID'
   Q1      = 'RESIDENCE TYPE'
   Q2      = 'YEARS OF RESIDENCE (range)'
   Q3      = 'OWN CURRENT RESIDENCE?'
   Q4      = 'MONTHLY RENT (range)'
   Q5      = 'MONTHLY MORTGAGE (range)'
   Q6      = 'FINANCIALLY BETTER OFF THAN LAST YEAR?'
   Q7      = 'BETTER OFF NEXT YEAR?'
   Q8      = 'U.S. BUSINESS CONDITIONS NEXT 12 MONTHS'
   Q9      = 'U.S. BUSINESS CONDITIONS NEXT 5 YEARS'
   Q10     = 'MAJOR HOUSEHOLD PURCHASES'
   Q11     = 'ORANGE COUNTY ECONOMY'
   Q12     = 'INVESTING IN HOMES IN ORANGE COUNTY'
   Q13     = 'QUALITY OF LIFE?'
   Q14     = 'MOST IMPORTANT ISSULE FACING ORANGE COUNTY?'
   Q15     = 'ORANGE COUNTY A BETTER PLACE TO LIVE?'
   Q16     = 'CITY GOVERNMENT PERFORMANCE'
   Q17     = 'COUNTY GOVERNMENT PERFORMANCE'
   Q18     = 'COUNTY''S ATTENTION PAID TO PEOPLE'
   Q19     = 'COUNTY WASTING TAXES?'
   Q20     = 'COUNTY & EL TORO'
   Q21     = 'FAVOR EL TORO AIRPORT?'
   Q22     = 'ORANGE COUNTY AIR TRAVEL NEEDS'
   Q23     = 'SAFE AND HEALTHY COMMUNITIES INITIATIVE'
   Q24     = 'VOTE IF INITIATIVE STOPS AIRPORT'
   Q25     = 'SATISFIED WITH LOCAL PUBLIC SCHOOLS?'
   Q26     = 'RAISE TAXES FOR LOCAL SCHOOLS'
   Q27     = 'PASS SCHOOL BONDS WITH SIMPLE MAJORITY'
   Q28     = 'CONFIDENCE IN LOCAL SCHOOL DISTRICT'
   Q29     = 'SCHOOL VOUCHERS'
   Q30     = 'SATISFIED WITH LOCAL FREEWAYS?'
   Q31     = 'SATISFIED WITH USE OF MEASURE M FUNDS'
   Q32     = 'EXTENDING MEASURE M?'
   Q33     = 'PASS TRANSPORTATION TAXES WITH SIMPLE MAJORITY'
   Q34     = 'WORK STATUS'
   Q35     = 'TRAFFIC CONGESTION DURING COMMUTE'
   Q36     = 'PARTY REGISTRATION'
   Q37     = 'CONSIDER YOURSELF POLITICALLY'
   Q38     = 'HOW INTERESTED IN POLITICS'
   Q39     = 'FOLLOW GOVERNMENT AND PUBLIC AFFAIRS'
   Q40     = 'VOTE FREQUENCY'
   Q41     = 'TRUST GOVERNMENT TO DO WHAT IS RIGHT?'
   Q42     = 'GOVERNMENT WASTES TAX MONEY?'
   Q43     = 'GOVERNMENT RUN BY BIG INTERESTS?'
   Q44     = 'PEOPLE HAVE SAY IN WHAT GOVERNMENT DOES'
   Q45     = 'ELECTIONS MAKE GOVERNMENT PAY ATTENTION'
   Q46     = 'WATCH LOCAL NEWS ON TV'
   Q47     = 'READ LOCAL NEWSPAPER'
   Q48     = 'FOLLOWED EL TORO STORIES'
   Q49     = 'FOLLOWED LITTLE SAIGON PROTEST STORIES'
   Q50     = 'FOLLOWED COSTA MESA PRESCHOOL STORIES'
   Q51     = 'FOLLOWED NG TRIAL STORIES'
   Q52     = 'FOLLOWED SWITCHED BABIES STORIES'
   Q53     = 'EARNING MONEY'
   Q54     = 'TAKING CARE OF FAMILY'
   Q55     = 'VISITING FRIENDS'
   Q56     = 'RELIGIOUS ACTIVITIES'
   Q57     = 'POLITICAL ACTIVITIES'
   Q58     = 'WORKING ON LOCAL ISSUES'
   Q59     = 'WORKING ON STATE ISSUES'
   Q60     = 'VOLUNTEER WORK'
   Q61     = 'AGE (range)'
   Q62     = 'LAST GRADE OF SCHOOL COMPLETED'
   Q63     = 'HAVE KIDS IN PUBLIC SCHOOLS?'
   Q64     = 'CITY OR COMMUNITY OF RESIDENCE'
   Q65     = 'ANNUAL HOUSEHOLD INCOME (range)'
   Q66     = 'RACE AND ETHNICITY'
   SEX     = 'GENDER (sex)'
   LANG    = 'LANGUAGE OF INTERVIEW'
   YEAR    = 'YEAR OF SURVEY'
        ;

  FORMAT Q1 q1ffffff. Q2 q2ffffff. Q3 q3ffffff. 
         Q4 q4ffffff. Q5 q5ffffff. Q6 q6ffffff. 
         Q7 q7ffffff. Q8 q8ffffff. Q9 q9ffffff. 
         Q10 q10fffff. Q11 q11fffff. Q12 q12fffff. 
         Q13 q13fffff. Q14 q14fffff. Q15 q15fffff. 
         Q16 q16fffff. Q17 q17fffff. Q18 q18fffff. 
         Q19 q19fffff. Q20 q20fffff. Q21 q21fffff. 
         Q22 q22fffff. Q23 q23fffff. Q24 q24fffff. 
         Q25 q25fffff. Q26 q26fffff. Q27 q27fffff. 
         Q28 q28fffff. Q29 q29fffff. Q30 q30fffff. 
         Q31 q31fffff. Q32 q32fffff. Q33 q33fffff. 
         Q34 q34fffff. Q35 q35fffff. Q36 q36fffff. 
         Q37 q37fffff. Q38 q38fffff. Q39 q39fffff. 
         Q40 q40fffff. Q41 q41fffff. Q42 q42fffff. 
         Q43 q43fffff. Q44 q44fffff. Q45 q45fffff. 
         Q46 q46fffff. Q47 q47fffff. Q48 q48fffff. 
         Q49 q49fffff. Q50 q50fffff. Q51 q51fffff. 
         Q52 q52fffff. Q53 q53fffff. Q54 q54fffff. 
         Q55 q55fffff. Q56 q56fffff. Q57 q57fffff. 
         Q58 q58fffff. Q59 q59fffff. Q60 q60fffff. 
         Q61 q61fffff. Q62 q62fffff. Q63 q63fffff. 
         Q64 q64fffff. Q65 q65fffff. Q66 q66fffff. 
         SEX sex. LANG lang. YEAR yearffff. 
          ;

/* md, min and max specifications were translated  */
/* into the following "IF" statements:           */


PROC DATASETS;
  CONTENTS DATA=IN POSITION;
  TITLE 'CONTENTS OF ALL VARIABLES';
RUN;
